﻿namespace FaceService.Infrastructure;

public class ModuleInitializer : IModuleInitializer
{
    public void Initialize(IServiceCollection services)
    {
        services.AddHttpContextAccessor();
        services.AddDistributedMemoryCache();
        services.AddScoped<IFIService, FIService>();
        services.AddScoped<ConfigurationManager>();
        services.AddScoped<IFace, FaceHellper>();
        services.AddHttpClient();
    }
}